package cn.bugDance.infrastructure.persistent.dao;

import cn.bugDance.domain.strategy.model.entity.RuleConfigEntity;
import cn.bugDance.infrastructure.persistent.po.RuleConfig;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface IRuleConfigDao {
    RuleConfig getConfigStrategy(@Param("strategyId") Long strategyId, @Param("ruleModel") String ruleWeight);

    RuleConfig getConfigStrategyAward(@Param("strategyId") Long strategyId, @Param("awardId") Integer awardId, @Param("ruleModel") String ruleLock);
}
